// 编辑器弹窗样式
@professionColor: #7579db;

// 编辑器
.outline-level1 {
    margin-left: 10px;
}

.outline-level2 {
    margin-left: 20px;
}

.outline-level3 {
    margin-left: 30px;
}
#editor , #editor2{
    height: 100%;
    overflow: auto;
    outline: 0 !important;
    color: #333333;
    line-height: 36px;
    z-index: 100;
    position: relative;
    padding-bottom: 20px;
    // 滚动条整体 整体如果不设置，只设置滑块和轨道是没有效果的
    &::-webkit-scrollbar {
        width: 5px;
        height: 5px; // height对于纵向滚动条来说没有用，但是对于横向就有用了
        border-radius: 10px;
    }
    // 滑块
    &::-webkit-scrollbar-thumb {
        border-radius: 10px;
        background-color: #adadaba4;
        // height: 50px; // 整体设了宽高后，这里宽高是无效的
        // width: 50px;
    }
    // 轨道
    &::-webkit-scrollbar-track {
        border-radius: 10px;
        background-color: #fff;
    }
}
.recommendColor {
    border: solid 1px #7371d6;
}

.editorBox {
    position: relative;
}
.editorBox:before{
    content: attr(placeholder);
    font-size: 14px;
    color: #999999;
    line-height: 21px;
    padding-top: 6px;
    position: absolute;
}
.outline-title:before {
    content: attr(data-lvt) " ";
    opacity: .6;
}
.outline-lv1 {
    font-size: 16px;
}
.outline-lv2 {
    padding-left: 13px;
    font-size: 16px;
}
.outline-lv3 {
    padding-left: 24px;
    font-size: 14px;
}
.outline-lv4 {
    padding-left: 35px;
    font-size: 12px;
}
// 编辑器

.editTitle {
    border-radius: 10px;
    border: solid 1px #f2f4fb;
    padding-left: 15px;
    width: 680px;
    position: relative;
    float: left;
    .title {
        color: #999999;
        font-size: 14px;
        margin-right: 14px;
    }
    .segmentation {
        color: #f0f0f0;
    }
    .editInput {
        width: 532px;
        display: inline-block;
        .form-control {
            border: 0 !important;
        }
    }
}
.editNumber {
    border-radius: 10px;
    border: solid 1px #f2f4fb;
    padding-left: 8px;
    width: 170px;
    position: relative;
    float: left;
    margin-left: 8px;
    .title {
        color: #999999;
        font-size: 14px;
        margin-right: 4px;
    }
    .segmentation {
        color: #f0f0f0;
    }
    .editInput {
        width: 80px;
        display: inline-block;
        .form-control {
            border: 0 !important;
            padding-left: 7px;
        }
    }
}
.editButton {
    float: left;
    margin-left: 8px;
    line-height: 18px;
    button {
        padding: 9px 23px;
        background-blend-mode: normal,
        normal;
        border-radius: 10px;
        font-size: 14px;
    }
    .button1 {
        color: #fff;
        background-image: linear-gradient(90deg,
        #7370d5 0%,
        #7c98ef 100%),
        linear-gradient(
                #ee3b86,
                #ee3b86);
        border: solid 1px #ffffff;
    }
    .button1:hover {
        background-image: linear-gradient(90deg,
        #7c98ef 0%,
        #7370d5 100%),
        linear-gradient(
                #ee3b86,
                #ee3b86);
    }
    .button2 {
        border: solid 1px @professionColor;
        color: @professionColor;
        background-color: #fff;
    }
}

.editMain {
    padding: 0 27px;
    height: calc(100% - 116px);
    box-sizing: border-box;
    &>div {
        height: 100%;
        float: left;
        width: 50%;
    }

    .editRight {
        height: 100%;
        padding: 16px 0;
    }

    .haderText {
        b {
            color: #272e38;
            font-size: 18px;
        }
        p {
            color: #999999;
            font-size: 12px;
            span {
                padding: 2px 4px;
                background-color: #eee;
            }
        }
        .norm {
            font-size: 14px;
            color: #7372d6;
            font-weight: 400;
            cursor: pointer;
            position: relative;
        }
        :hover {
            .FloatingWindow  {
                display: block;
            }
        }
        .FloatingWindow {
            z-index: 1000;
            display: none;
            padding: 14px 20px 24px 20px;
            font-size: 14px;
            width: 277px;
            position: absolute;
            right: -290px;
            top: -24px;
            background-color: #fff;
            box-shadow: 0px 0px 13px 0px rgb(126 145 213 / 20%);
            .p1 {
                color: #7372d6;
                margin-bottom: 10px;
            }
            .p2 {
                color: #999999;
            }
            div {
                padding: 4px 23px;
                color: #272e38;
                background-color: #f5f6f7;
                margin-bottom: 20px;
                margin-top: 6px;
            }
        }
    }
    .editLeft {
        height: 100%;
    }
    .leftBoxMain {
        padding-right: 11px;
    }
    .rightBoxMain {
        padding-left: 11px;
    }
    .editLeft , .editRight {
        background-color: #ffffff;
        box-shadow: 0px 0px 13px 0px 
		rgba(225, 225, 225, 0.51);
        border-radius: 10px;
        padding: 16px;
        cursor: pointer;
        &:hover {
            box-shadow: 0px 0px 18px 0px 
            rgba(115, 114, 214, 0.23);
        }
        &.checked .recommend{
            border: solid 1px #7372d6;
        }
    }
}
.editzdy {
    overflow: hidden;
    margin-top: 16px;
    .editTips {
        float: left;
        display: none;
        height: 32px;
        line-height: 32px;
        padding: 0 10px;
        color: #d81e06;
        font-weight: bold;
        background: url('../img/Warning2.png') no-repeat;
        padding-left: 24px;
        background-position: 0 50%;
    }
    .editTips2 {
        display: none;
    }
}
.editButtons {
    font-size: 14px;
    float: right;
    div {
        cursor: pointer;
    }
    .prohibit {
        cursor: auto;
        border-color: #ccc;
        color: #ccc;
    }
}
.editGenerate {
    float: right;
    width: 75px;
    background-color: #e0e0e0;
    border-radius: 4px;
    line-height: 32px;
    color: #ffffff;
    text-align: center;
    font-size: 14px;
    user-select: none;
}
.checked {
    .editGenerate {
        background-color: #7371d6;
        cursor: pointer;
    }
}
.anew {
    float: right;
    width: 75px;
    border-radius: 4px;
    line-height: 30px;
    text-align: center;
    border: solid 1px @professionColor;
    color: @professionColor;
    box-sizing: border-box;
    margin-right: 13px;
}
.editai {
    margin-top: 16px;
}
.rightBox {
    overflow: hidden;
    width: 100%;
}
.editTips2 {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding-right: 0;
    text-align: center;
    margin-top: 0;
    height: 40px;
    line-height: 40px;
    background-color: rgb(255,246,233);
    border-radius: 0 0 10px 10px;
    z-index: 100;
    .WordsText {
        color: rgb(255,128,35);
    }
    img {
        margin-right: 10px;
        margin-top: -2px;
    }
}
.PageTurning {
    float: left;
    margin-right: 20px;
    margin-top: 2px;
    &>div {
        background-color: #ffffff;
        border-radius: 4px;
        display: inline-block;
    }
    .TowardsTheLeft {
        padding: 4px 10px;
        margin-right: 6px;
        font-size: 0;
        font-size: 14px;
        color: #ccc;
        border: 1px solid #ccc;
    }
    .iconImg2 , .iconImg4{
        display: none;
    }
    .TowardsTheRight , .Regenerate{
        padding: 4px 10px;
        font-size: 0;
        font-size: 14px;
        cursor: pointer;
        color: #ccc;
        border: 1px solid #ccc;
    }
    .TowardsTheLeft.ok , .TowardsTheRight.ok {
        &:hover {
            background-color: #a3a2ff;
            color: #ffffff;
            cursor: pointer;
        }
    }
    .ok {
        border: solid 1px #7579db;
        color: #7371d6;
        cursor: pointer;
        .iconImg1 {
            display: none;
        }
        .iconImg2 {
            display: inline-block;
        }
        .iconImg3 {
            display: none;
        }
        .iconImg4 {
            display: inline-block;
        }
    }
}
.editGenerate2 {
    float: right;
}
.delete {
    position: absolute;
    right: 14px;
    top: 14px;
    width: 13px;
    height: 13px;
    cursor: pointer;
}
.recommend {
    position: relative;
    height: calc(100% - 106px);
    padding: 20px;
    background-color: #ffffff;
    box-shadow: 0px 0px 13px 0px
    rgba(242, 244, 251, 0.09);
    border-radius: 10px;
    border: solid 1px #f2f4fb;
    margin-top: 8px;
    width: 100%;
    padding-right: 10px;
}
.loging {
    display: none;
    background-color: rgba(255, 255, 255, 0.95);
    text-align: center;
    line-height: 40px;
    font-size: 16px;
    color: #333;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    z-index: 100;
    img {
        margin-top: 30%;
    }
}
.editGenerate.gray {
    background-color: #e0e0e0;
    color: #fff;
}
.EditPopup .quantity span {
    color: @professionColor;
}
#editor p , #editor2  p {
    min-height: 36px;
}
#editor2 {
    padding-bottom: 20px;
}

.recommendColor #ImportantHint {
    display: none !important;
}
#ImportantHint {
    position: absolute;
    left: 0;
    top: 0;
    padding-left: 50px;
    padding-top: 130px;
    line-height: 32px;
    color: #333333;
    font-size: 14px;
    b {
        font-size: 16px;
    }
    .ImportantHintP1 {
        margin-top: 4px;
        span {
            color: #ff4622;
        }
    }
    .ImportantHintP2 {
        span {
            color: #ff4622;
        }
    }
}